import { render } from 'react-dom'
import reportWebVitals from './reportWebVitals'
// import App from './App'
import AppDemo from './AppDemo'

// destination 挂载目的地
const dest = document.getElementById('root')
let renderApp = (renderProps?: any) => render(<AppDemo {...renderProps} />, dest)
renderApp()

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// 性能统计
reportWebVitals()
